<!DOCTYPE html>
<html lang="zh">
<html xmlns:th="http://www.thymeleaf.org">
<!-- themeleaf 引入通用的nav 片段-->
<!-- navbar-static-top  navbar-fixed-top-->
<nav class="navbar navbar-default " id="top-nav" role="navigation" th:fragment="nav(searched)">
    <div class=" container-fluid">
        <div class="navbar-header">
            <button class="navbar-toggle" data-target="#vic-navbar-collapse" data-toggle="collapse" type="button">
                <span class="sr-only">切换导航</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="http://xuqiudong.gitee.io/" target="lcxm_gitee">凯捷科技<small class="text-info">点餐系统</small></a>
        </div>
        <div class="collapse navbar-collapse" id="vic-navbar-collapse">
            <div class="navbar-text" id="tweather"></div>
            <ul class="nav navbar-nav navbar-right-">
                <li th:class="${session.last_request_get_url == '/'} ? 'active':''">
                    <a th:href="@{/}"><i aria-hidden="true" class="fa fa-book"></i> <strong
                            class="text-info">首页</strong></a>
                </li>
                <li th:class="${session.last_request_get_url == '/attachment/'} ? 'active':''">
                    <a th:href="@{/attachment/}"><strong class="text-info">附件处理</strong></a>
                </li>

            </ul>


        </div>
    </div>
</nav>